<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>tango.util.log.ConfigProps</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "tango.util.log.ConfigProps";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/tango.util.log.ConfigProps.html" class="symbol">tango.util.log.ConfigProps</a></h1>
  
<p class="sec_header">License:</p>BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a>
<p class="sec_header">Version:</p>Nov 2005: split from Configurator.d
<p class="sec_header">verison:</p>Feb 2007: removed default console configuration
<p class="sec_header">Author:</p>Kris
<dl>
<dt class="decl">struct <a class="symbol _struct" name="ConfigProps" href="./htmlsrc/tango.util.log.ConfigProps.html#L32" kind="struct" beg="32" end="75">ConfigProps</a>; <a title="Permalink to this symbol" href="#ConfigProps" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.log.ConfigProps.html#L32">#</a></dt>
<dd class="ddef">
<div class="summary">A utility class for initializing the basic behaviour of the 
        default logging hierarchy.</div>
ConfigProps parses a much simplified version of the property file. 
        Tango.log only supports the settings of Logger levels at this time,
        and setup of Appenders and Layouts are currently done "in the code"
<dl>
<dt class="decl">void <a class="symbol _function" name="ConfigProps.opCall" href="./htmlsrc/tango.util.log.ConfigProps.html#L60" kind="function" beg="60" end="74">opCall</a><span class="params">(char[] <em>path</em>)</span>; <span class="attrs">[<span class="stc">static</span>]</span> <a title="Permalink to this symbol" href="#ConfigProps.opCall" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/tango.util.log.ConfigProps.html#L60">#</a></dt>
<dd class="ddef">
<div class="summary">Add a default StdioAppender, with a SimpleTimerLayout, to 
                the root node. The activity levels of all nodes are set
                via a property file with name=value pairs specified in the
                following format:</div>
<p class="sec_header">name:</p>the actual logger name, in dot notation
                          format. The name "root" is reserved to
                          match the root logger node.
<p class="sec_header">value:</p>one of TRACE, INFO, WARN, ERROR, FATAL
                          or NONE (or the lowercase equivalents).
<p class="bl"/>
                For example, the declaration
<p class="bl"/>
                <pre class="d_code">
<span class="i">tango</span>.<span class="k">unittest</span> = <span class="i">INFO</span>
<span class="i">myApp</span>.<span class="i">SocketActivity</span> = <span class="i">TRACE</span>
</pre>
                
                sets the level of the loggers called tango.unittest and
                myApp.SocketActivity</dd></dl></dd></dl>
</div>
<div id="footer">
  <p>Copyright (c) 2004 Kris Bell. All rights reserved</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:04:11 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>